import {
  request,
} from "@rabbit.do/rabbit";

// 获取会员等级的数据
export const fetchMemberData = (data) => request({
  url: '/swan/operation/level/find/page',
  data,
});

// 会员等级的数据更新
export const updateMemberData = (data) => request({
  url: '/swan/operation/level/update',
  data,
});

// 新增会员等级
export const createMemberData = (data) => request({
  url: '/swan/operation/level/create',
  data,
});

// 删除会员等级
export const deleteMemberData = (data) => request({
  url: '/swan/operation/level/delete',
  data,
});
